package com.yonyou.pmclouds.workflow.service.rmiitf;

import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.billtype.entity.BillTypeVO;
import com.yonyou.pmclouds.workflow.entity.ProcessDataSynVO;
import com.yonyou.pmclouds.workflow.entity.UserAndUserGroupVO;

import java.util.List;

public interface BaseManagerService {

    void insertBaseDataSyn(List<ProcessDataSynVO> synVOList) throws BusinessException;

    ProcessDataSynVO queryLastSynInfo(String tenantId) throws BusinessException;

    ProcessDataSynVO checkIsBaseDataSyn(String tenantId) throws BusinessException;

    String addTenantDataSyn(String tenantInfo, String userId, String tenantId, String sysId) throws BusinessException;

    String addRoleDataSyn(List<UserAndUserGroupVO> userGroupVOList, String userId, String tenantId) throws BusinessException;

    String addCallBackListener(String userId, String tenantId) throws BusinessException;

    void addFormDataSyn(String processModelId, BillTypeVO billTypeVO, String userId, String tenantId) throws BusinessException;

    void deleteFormData(String processModelId, String userId, String tenantId) throws BusinessException;

    String addDataSyn(String tenantInfo, String userId, String tenantId, String sysId) throws BusinessException;

}
